<style>
.form .item label {
  width: 100px;
}
</style>

<div class="form">
  <div class="item">
    <label class="required">Name</label>
    <div class="main">
      <input value="Pieair" type="text" />
    </div>
  </div>

  <div class="item">
    <label>Password</label>
    <div class="main">
      <input value="Pieair" type="password" />
    </div>
  </div>

  <button class="btn">Submit</button>
</div>